package com.campsys.domain.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class TeacherUpdateParam {

    @NotNull(message = "教师id不能为空")
    private Long id;
    @NotBlank(message = "教师名称不能为空")
    private String teacherName;
    private String subject;
    private String profession;
    private String school;
    private String introduce;
}
